package cc.ruih.meizanchen.mm;

import cc.ruih.meizanchen.R;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.ImageButton;

/**
 * 入院物品添加
 * @author 郭瑞坡
 *
 */
public class AddGood extends Activity{

	ImageButton confirm;	// 确认添加产品按钮
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.mm_addgood);
		
		confirm = (ImageButton) findViewById(R.id.addgood);
		confirm.setOnClickListener(new ButtonClick());
	}
	
	private class ButtonClick implements OnClickListener{
		@Override
		public void onClick(View v) {
			switch (v.getId()) {
			case R.id.addgood:
				Intent intent = new Intent();
				intent.setClass(AddGood.this, AdmissionGoods.class);
				startActivity(intent);
				break;
			}
		}
	}

}
